package com.woniuxy.store.client;

import com.woniuxy.store.client.param.ApplyParam;
import com.woniuxy.store.client.param.ModifyApplyParam;
import com.woniuxy.store.client.param.SearchApplyParam;
import com.woniuxy.store.client.result.ApplyDto;
import com.woniuxy.store.client.result.StoreInfoDto;
import common.WoniuPage;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.cloud.openfeign.SpringQueryMap;
import org.springframework.web.bind.annotation.*;
import result.Result;

import java.util.List;

/**
* name是项目名，contextId是client的名字
*/
@FeignClient(contextId = "storeQueryClient",name="store",path="/store/manage")
public interface StoreQueryClient {

    @GetMapping("/apply")
    public Result searchApply(@SpringQueryMap SearchApplyParam param);

}
